// 负责所有全局自定义组件的注册

import PageTools from './PageTools/index'
import UploadExcel from './UploadExcel/index'
import ImageUpload from './ImageUpload/index'
import Print from 'vue-print-nb'
import Screenfull from './ScreenFull'
import ThemePicker from './ThemePicker'
import LangSelect from './lang'
import TagsView from './TagsView'

export default {
  install (Vue) {
    // 组件的注册
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload) // 注册图片上传组件
    Vue.use(Print) // 注册打印机
    Vue.component('ScreenFull', Screenfull)
    Vue.component('ThemePicker', ThemePicker) // 动态主题组件,完成组件的注册
    Vue.component('LangSelect', LangSelect)
    Vue.component('TagsView', TagsView)
  }
}

